package com.Test;

/**
 * SwitchTest
 *
 * @author byc
 * @date 2021-10-22
 */
public class SwitchTest {
    public static void main(String[] args) {
        Integer num = 6;
        String sexId = "";
        switch (num){
            case 1:
                sexId = "女";
                break;
            case 2:
                sexId = "男";
                break;
            default:
                sexId = "wtf";
        }
        System.out.println(sexId);
    }
}
